import scipy.stats as stats
import numpy as np

np.random.seed(1010)
x = np.random.normal(3,1,5)
y = np.random.normal(3.2,1,6)

stat,p_value = stats.ranksums(x,y,alternative='less')
print(stat,p_value)
print(x)
print(y)